home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 016 / 26time20.arc / TEMPLATE.ASM < prev   
Encoding:
Assembly Source File  |  1986-12-03  |  1.0 KB  |  52 lines

  1. ;------------------------------  INCLUDES  --------------------------------
  2.  
  3. include    \asm\macros.asm
  4. include    \asm\equates.asm
  5.  
  6. ;------------------------------  EQUATES  ---------------------------------
  7.  
  8.  
  9. ;------------------------------  PUBLICS  ---------------------------------
  10.  
  11. public    start, begin, exit, veryend
  12.  
  13. ;------------------------------  SEGMENT  ---------------------------------
  14.  
  15. code    segment
  16.     assume    ds:code, cs:code, es:code
  17.     org    0100h
  18.  
  19. ;-------------------------------  START  ----------------------------------
  20.  
  21. start:
  22.     nop
  23.     push    cs
  24.     pop    ds
  25.     push    cs
  26.     pop    es
  27.     jmp    begin    
  28.  
  29. ;-------------------------------  DATA  -----------------------------------
  30.  
  31.  
  32.  
  33. ;------------------------------  PROGRAM  ---------------------------------
  34.  
  35. begin:
  36.  
  37. exit:
  38.     mov    ah, 04Ch
  39.     mov    al, 01h
  40.     int    msdos
  41.  
  42. ;------------------------------  ROUTINES  --------------------------------
  43.  
  44.  
  45.  
  46. ;--------------------------------  ENDS  ----------------------------------
  47.  
  48.          db    0
  49. veryend:
  50. code    ends
  51.     end    start
  52.